#pragma once

#include "QkToolBar.h"

class QkBaseView : public QWidget
{
	Q_OBJECT
public:
	QkBaseView();
	QkBaseView(QWidget *parent);
	~QkBaseView();

	virtual QKindleViewId viewId() const = NULL;

signals:
	void navigate(QkBaseView *senderView, const QString &url);	

protected:
	void paintEvent(QPaintEvent *event);
	virtual void activated();
	virtual void deactivated();

	QkToolBar *toolBar() const;

private:

friend class QkViewManager;
};
